package com.example.live.api

import com.bw.mvi.api.BaseApiService
import com.example.common.entity.BaseResponse
import com.example.live.entity.LiveEntity

import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * 直播模块接口
 */
interface LiveApiServer: BaseApiService {
    //获取推荐短视频信息
    @GET("/videosimple/getRecommendSimpleVideo")
    fun getLiveList(@Query("page")page:Int,@Query("pagesize") pageSize: Int): Flow<BaseResponse<LiveEntity>>
}